<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>物流管理</title>
    <link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="/public/css/base.css" rel="stylesheet">
    <link href="/public/css/detail.css" rel="stylesheet">


    <!--[if lt IE 9]>
<script src="js/modernizr.js"></script>
<![endif]-->

</head>

<body>
    <header>
        <div id="logo">
            <a href="/"></a>
        </div>
        <nav class="topnav" id="topnav">
            <a href="/"><span>首页</span><span class="en">Index</span></a>
            <a href="/students"><span>物流管理</span><span class="en">Logictics</span></a>
            <a href="/detail"><span>仓库明细</span><span class="en">Forms</span></a>
            <a href="/store"><span>仓储管理</span><span class="en">Store</span></a>
            <a href=""><span>财务管理</span><span class="en">Finance</span></a>
            <a href=""><span>系统维护</span><span class="en">System</span></a>
            <a href="/about"><span>关于我们</span><span class="en">About</span></a>
        </nav>
    </header>



    <div class="main">

        <div class="navlist">
            <ul class="nav nav-pills nav-stacked ">
                <li class="btn"><a href="/">首页</a></li>
                <li class="btn"><a href="/students">物流管理</a></li>
                <li class="btn btn-info"><a href="/sotre">仓库明细</a></li>
                <li class="btn"><a href="">仓库管理</a></li>
                <li class="btn"><a href="">财务管理</a></li>
            </ul>
        </div>




        <div class="mydata table-responsive">
            <div class="search form-inline">
                <a class="btn btn-success add " href="/detail/new_detail">添 加</a>
                <div class="form-group ">
                    <input type="text" class="form-control" id="exampleInputEmail2" style="width:500px">
                </div>
                <button class="btn btn-info">搜 索</button>
            </div>
            <table class="mytable table table-striped  table-hover">
                <thead>
                    <tr>
                        <th>仓库名字</th>
                        <th>仓库编号</th>
                        <th>商品类型</th>
                        <th>出货/补货</th>
                        <th>剩余数量</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    {{each details}}
                    <tr>
                        <td> {{ $value.store_name }} </td>
                        <td> {{ $value.store_id }} </td>
                        <td> {{ $value.goods_type }} </td>
                        <td> {{ $value.out_in }} </td>
                        <td> {{ $value.num }} </td>
                        <th>
                            <a class="btn btn-info" href="/detail/edit_detail?id={{$value.id}}" class="btn btn-info">修改</a>
                            <a class="btn btn-danger" href="/detail/delete?id={{ $value.id }}" class="btn btn-danger">删除</a>
                        </th>
                    </tr>
                    {{/each}}

                </tbody>
            </table>
        </div>


    </div>



</body>

</html>